﻿using FarmSmartSleep.Common.Domain.AubitFile;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FarmSmartSleep.Common.Domain.PM
{
    /// <summary>
    /// 羊只转舍
    /// </summary>
    public class SheepTransfer:Aubuit
    {
        /// <summary>
        /// 转舍记录编号
        /// </summary>
        [Key]
        public int SheepTransferId { get; set; }
        /// <summary>
        /// 转舍操作的日期
        /// </summary>
        public DateTime TransferDate { get; set; }
        /// <summary>
        /// 单据号
        /// </summary>
        public string DocumentNo { get; set; }
        /// <summary>
        /// 流水号
        /// </summary>
        public string SerialNo { get; set; }   
        /// <summary>
        /// 羊只的耳号
        /// </summary>
        public int EarNo { get; set; }  
        /// <summary>
        /// 转入的栋舍
        /// </summary>
        public int TransferBarn { get; set; } 
        /// <summary>
        /// 转入的栏位
        /// </summary>
        public int TransferPen { get; set; }   
        /// <summary>
        /// 转出的栋舍
        /// </summary>
        public int OuBarn { get; set; }   
        /// <summary>
        /// 转出的栏位
        /// </summary>
        public int OutPen { get; set; } 
        /// <summary>
        /// 备注
        /// </summary>
        public string Notes { get; set; }
        /// <summary>
        /// 转舍类型
        /// </summary>
        public int SheepTransferTypeId { get; set; }
    }
}
